<?php

namespace app\index\controller;

use  think\facade\View;

class Index
{
    public function index()
    {
        View::assign('name', 'zhangsan');
        View::assign('url', '<p>https://www.baidu.com/</p>');
        return View::fetch();
    }

    public function register()
    {
        return View::fetch();
    }
}